home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / misc / libx11inc.lha / X11 / Xm / DropTrans.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-13  |  1.6 KB  |  63 lines

  1. /* 
  2.  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
  3.  * ALL RIGHTS RESERVED
  4. */ 
  5. /*   $RCSfile: DropTrans.h,v $ $Revision: 1.18 $ $Date: 92/05/14 12:51:24 $ */
  6. /*
  7. *  (c) Copyright 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  8.  
  9. #ifndef _XmDropTrans_h
  10. #define _XmDropTrans_h
  11.  
  12. #include <Xm/Xm.h>
  13.  
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17.  
  18. #define XmTRANSFER_FAILURE 0
  19. #define XmTRANSFER_SUCCESS 1
  20.  
  21. externalref WidgetClass xmDropTransferObjectClass;
  22.  
  23. typedef struct _XmDropTransferClassRec * XmDropTransferObjectClass;
  24. typedef struct _XmDropTransferRec      * XmDropTransferObject;
  25.  
  26. #ifndef XmIsDropTransfer
  27. #define XmIsDropTransfer(w) \
  28.     XtIsSubclass((w), xmDropTransferObjectClass)
  29. #endif /* XmIsDropTransfer */
  30.  
  31. typedef struct _XmDropTransferEntryRec {
  32.     XtPointer    client_data;
  33.     Atom        target;
  34. } XmDropTransferEntryRec, * XmDropTransferEntry;
  35.  
  36. /********    Public Function Declarations    ********/
  37. #ifdef _NO_PROTO
  38.  
  39. extern Widget XmDropTransferStart() ;
  40. extern void XmDropTransferAdd() ;
  41.  
  42. #else
  43.  
  44. extern Widget XmDropTransferStart( 
  45.                         Widget refWidget,
  46.                         ArgList args,
  47.                         Cardinal argCount) ;
  48. extern void XmDropTransferAdd( 
  49.                         Widget widget,
  50.                         XmDropTransferEntry transfers,
  51.                         Cardinal num_transfers) ;
  52.  
  53. #endif /* _NO_PROTO */
  54. /********    End Public Function Declarations    ********/
  55.  
  56.  
  57. #ifdef __cplusplus
  58. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  59. #endif
  60.  
  61. #endif /* _XmDropTrans_h */
  62. /* DON'T ADD ANYTHING AFTER THIS #endif */
  63.